package com.hzw.model;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 栏目
 */
@Entity
@Table(name="tb_channel")
@Data
public class Channel {

    @Id
    private String id;
    @Column(length = 100)
    private String name;
    @Column(length = 1)
    private String state;
}
